import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  //  保存左侧菜单连接激活状态
    activePath: ''
  },
  mutations: {
    updateActivePath (state, payload) {
      state.activePath = payload.path
    }
  },
  actions: {
  },
  modules: {
  }
})
